<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>

</body>
</html>


<script>
	document.write(qiu_he());
	
	function qiu_he() {
		var arr = new Array(30);
		var res_arr=[];
		for(i=0;i<30;i++){
			arr[i]=2*i+2
		}
		for(i=0;i<6;i++){
			var sum=0;
			var newarr = arr.splice(0,5);
			for(var j in newarr){
				sum+=newarr[j]
			};
			res_arr.push(sum/5);
		}
		return res_arr;
	}




</script>